package com.example.bean.vo;

import java.time.LocalDate;

import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel(value = "产品案例信息")
public class UseCaseVO {
	@ApiModelProperty(value = "id,保存操作需提供（已有id-修改操作则传入参数，没有id——新增操作则为null）")
	private Long id ;
	@ApiModelProperty(value = "案例名称")
	private String name;
	@ApiModelProperty(value = "合作企业")
	private String company;
	@ApiModelProperty(value = "上线时间")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate submitDate;
	@ApiModelProperty(value = "应用地点")
	private String appliLocation;
	@ApiModelProperty(value = "解决的问题")
	private String problem;
	@ApiModelProperty(value = "应用成效与意义")
	private String value;
	

}
